/** Created by CUIJA on 05-19-2017.*/

var angular = require('angular');
var core = require('../core');
var subModuleRoutes = require('./routes/subModule.routes');
var navbarConfig = require('./configs/navbar.config');
var subService = require('./services/sub.service');
var subCtrl = require('./controller/subModule.cointroller');

const moduleName = 'sub';

angular.module(moduleName, [core])
    .factory('subService', subService)
    .controller('subCtrl', subCtrl)
    .config(subModuleRoutes)
    .run(navbarConfig);


module.exports = moduleName;
